Skip to main content

mobileAdDelete

Type​

command

Summary​

Delete a given ad.

Syntax​

mobileAdDelete <ad>

Description​

Use the mobileAdDelete command to delete a given ad.

Use this command to delete an ad that was created earlier.

Parameters​

NameTypeDescription

ad

The name of the loaded ad to delete.

Examples​

mobileAdDelete "Ad1"

Value​

NameTypeDescription

the result

  • empty: If successful.
  • "not registered with service": if you did not register your app id using mobileAdRegister before calling mobileAdCreate.
  • "ad already exists": if an ad of the given name already exists.
  • "could not create ad": if the ad could not be created. This is the case, if the app does not have Internet permissions or the registered app key is not valid.

command: mobileAdCreate, mobileAdRegister

function: mobileAds

Compatibility and Support​

Introduced

LiveCode 5.5

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?